Skip to content

Conversation

@pvaneck
Copy link
Member

@pvaneck pvaneck commented Nov 22, 2025

Closes: #44135

@pvaneck pvaneck force-pushed the identity-rename-proxy-kwarg branch from 641a824 to 1e67c3e Compare November 22, 2025 01:54
@pvaneck pvaneck marked this pull request as ready for review November 22, 2025 02:02
@pvaneck pvaneck requested review from a team and xiangyan99 as code owners November 22, 2025 02:02
Copilot finished reviewing on behalf of pvaneck November 22, 2025 02:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames the use_token_proxy keyword argument to enable_azure_proxy in the WorkloadIdentityCredential class to better reflect its purpose. This is a breaking change that only affects code written against beta version 1.26.0b1, as clearly documented in the CHANGELOG.

  • Renamed parameter from use_token_proxy to enable_azure_proxy in both sync and async implementations
  • Updated all test cases and test documentation to reflect the new parameter name
  • Added comprehensive CHANGELOG entry documenting the breaking change with appropriate scope limitation

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/identity/azure-identity/azure/identity/_credentials/workload_identity.py Updated sync implementation to use enable_azure_proxy parameter
sdk/identity/azure-identity/azure/identity/aio/_credentials/workload_identity.py Updated async implementation to use enable_azure_proxy parameter
sdk/identity/azure-identity/tests/test_workload_identity_credential.py Updated all sync test method names, docstrings, and parameter usage to reference enable_azure_proxy
sdk/identity/azure-identity/tests/test_workload_identity_credential_async.py Updated all async test method names, docstrings, and parameter usage to reference enable_azure_proxy
sdk/identity/azure-identity/CHANGELOG.md Added breaking change entry documenting the parameter rename with appropriate version scope clarification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

Align WorkloadIdentityCredential proxy option name

1 participant